import dayjs from "dayjs";

// 用户自己的信息
export const userMockInfo = {
  user_id: '1',
  user_name: 'zhangrunzhao',
  header_img: '/src/assets/img/image.jpg',

}

// 客户的信息
export const userMockInfo2 = {
  user_id: '2',
  user_name: '瓜皮钊',
  header_img: '/src/assets/img/image2.jpeg',
}


export const conversationMockInfo = [
  {
    conversation_id: 'c_1',
    user_info: userMockInfo,
    update_time: 1643214050614,
    create_time: 1643182317947,
    new_info:
    {
      info_id: 'c_1_i_0',
      content: '吃好睡好身体胖',
      send_type: 0, // 文本类型
      send_time: 1643182317947,
    }
  },
  {
    conversation_id: 'c_2',
    user_info: userMockInfo,
    update_time: 1643248109999,
    create_time: 1643182317947,
    new_info:
    {
      info_id: 'c_2_i_0',
      content: '吃好睡好身体胖2',
      send_type: 0, // 文本类型
      send_time: 1643182317947,
    }

  },
  {
    conversation_id: 'c_3',
    user_info: userMockInfo,
    update_time: 1643218109999,
    create_time: 1643182317947,
    new_info:
    {
      info_id: 'c_3_i_0',
      content: '吃好睡好身体胖3',
      send_type: 0, // 文本类型
      send_time: 1643182317947,
    }

  },
  {
    conversation_id: 'c_4',
    user_info: userMockInfo,
    update_time: Date.now(),
    create_time: 1643182317947,
    new_info:
    {
      info_id: 'c_4_i_0',
      content: '吃好睡好身体胖3',
      send_type: 0, // 文本类型
      send_time: 1643182317947,
    }

  },
];

export const conversationMockInfoList = [
  {
    conversation_id: 1,
    info_id: 'c_1_i_0',
    content: '吃好睡好身体胖',
    send_type: 0, // 文本类型
    send_time: 1643182317947,
    send_user: userMockInfo2,
  },
  {
    conversation_id: 1,
    info_id: 'c_1_i_1',
    content: '请问有啥事情捏',
    send_type: 0, // 文本类型
    send_time: 1643182317947,
    send_user: userMockInfo,
  },
  {
    conversation_id: 1,
    info_id: 'c_1_i_2',
    content: '吃好睡好身体胖',
    send_type: 0, // 文本类型
    send_time: 1643182317947,
    send_user: userMockInfo2,
  },
  {
    conversation_id: 1,
    info_id: 'c_1_i_3',
    content: '请问有啥事情捏',
    send_type: 0, // 文本类型
    send_time: 1643182317947,
    send_user: userMockInfo,
  },
  {
    conversation_id: 1,
    info_id: 'c_1_i_4',
    content: '吃好睡好身体胖',
    send_type: 0, // 文本类型
    send_time: 1643182317947,
    send_user: userMockInfo2,
  },
  {
    conversation_id: 1,
    info_id: 'c_1_i_5',
    content: '请问有啥事情捏',
    send_type: 0, // 文本类型
    send_time: 1643182317947,
    send_user: userMockInfo,
  },
  {
    conversation_id: 1,
    info_id: 'c_1_i_6',
    content: '请问有啥事情捏',
    send_type: 0, // 文本类型
    send_time: 1643182317947,
    send_user: userMockInfo,
  },
  {
    conversation_id: 1,
    info_id: 'c_1_i_7',
    content: '吃好睡好身体胖',
    send_type: 0, // 文本类型
    send_time: 1643182317947,
    send_user: userMockInfo2,
  },
  {
    conversation_id: 1,
    info_id: 'c_1_i_8',
    content: '请问有啥事情捏',
    send_type: 0, // 文本类型
    send_time: 1643182317947,
    send_user: userMockInfo,
  },
  {
    conversation_id: 1,
    info_id: 'c_1_i_9',
    content: '吃好睡好身体胖',
    send_type: 0, // 文本类型
    send_time: 1643182317947,
    send_user: userMockInfo2,
  },
  {
    conversation_id: 1,
    info_id: 'c_1_i_10',
    content: '请问有啥事情捏',
    send_type: 0, // 文本类型
    send_time: 1643182317947,
    send_user: userMockInfo,
  }
]

